package com.mck.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author Max
 * @Date 2025/3/13 下午7:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ScoreStats {
    private String academyYear;
    private Integer classId;
    private Integer subjectId;
    private Float excellentRateTheory;
    private Float passRateTheory;
    private Float avgScoreTheory;
    private Float maxScoreTheory;
    private LocalDateTime updateTimeTheory;
    private Float excellentRatePractice;
    private Float passRatePractice;
    private Float avgScorePractice;
    private Float maxScorePractice;
    private LocalDateTime updateTimePractice;

    // 拓展
    private Integer theoryTotalViolations;      // 理论违规总人数
    private Integer theoryTotalAbsences;        // 缺考总人数
    private String theoryViolationStudentIds;   // 违规学生ID集合
    private String topTheoryStudentIds;    // 理论最高分学生ID

    private Integer practiceTotalViolations;      // 违规总人数
    private Integer practiceTotalAbsences;        // 缺考总人数
    private String practiceViolationStudentIds;   // 违规学生ID集合
    private String topPracticeStudentIds; // 实践最高分学生ID


    private Integer grade;
    private String classname;
}
